﻿@{
    ViewBag.Title = "方圆和鑫网站管理平台";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}
<link href="~/Content/bootstrap.css" rel="stylesheet" />
<style>
    .manage-container .header {
        width: 100%;
        height: 110px;
        background: url("/content/images/bg.png");
    }

    .manage-container .left {
        width: 205px;
        text-align: center;
        float: left;
        border: 3px solid black;
        background: white;
        height: 100%;
        min-height:600px;
    }

        .manage-container .left .licurrent {
            font-size: 16px;
            color: Red;
        }

    .manage-container .main {
        background: white;
        float: left;
        border: 2px solid black;
    }

    .logo {
        width: 100px;
      
        float: left;
        background:url('')
      
    }

    .header_right {
        line-height: 50px;
        width: 700px;
        float: left;
    }
</style>
<script type="text/javascript">
    $(function () {
        $(".left").height($(document).height() - $(".header").height() - 20);
        $(".main").width($(document).width() - $(".left").width() - 15).height($(document).height() - $(".header").height() - 20);
        $("#fmmain").width($(document).width() - $(".left").width() - 15).height($(document).height() - $(".header").height() - 25);
    });
</script>
<div class="manage-container">
    <div class="header">
        <div class="logo"><a href="/" target="_blank"><img width="80" height="80" src="/Content/images/logo.png"/></a></div>
        <div class="header_right">
           <div> <i style="font-family: 华文行楷; font-size: 36px; color: yellow;">方圆和鑫网房地产经纪有限公司</div><div style="text-indent:2em;" class="text-right small">————网站管理平台</div></i>
        </div>
    </div>
    <div class="left">
        <ul class="list-group">
            
            <li class="list-group-item"><a href="@Url.Action("Index", "HouseInfo")" target="fmmain">房源管理</a></li>
            @if (ViewBag.UserType==0){
            <li class="list-group-item"><a href="@Url.Action("Index", "HtmlContent")" target="fmmain">内容管理</a></li>
            <li class="list-group-item"><a href="@Url.Action("Index", "Areas")" target="fmmain">地区管理</a></li>
            <li class="list-group-item"><a href="@Url.Action("Index", "Users")" target="fmmain">用户管理</a></li>
            }
            <li class="list-group-item"><a href="@Url.Action("LoginOff", "Account")">退出</a></li>
        </ul>
    </div>
    <div class="main">
        <iframe id="fmmain" name="fmmain"  src="@Url.Action("Index", "HouseInfo")"
            width="1000" />
    </div>
</div>
